package cn.zymall.chat;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import javax.sql.DataSource;

/**
 * @author xuxianda
 * @Description: TODO(这里用一句话描述作用)
 * @date 2020/8/23 11:55
 * @Copyright
 * @return
 **/
@EnableEurekaClient
@EnableFeignClients("cn.zymall.common.feign")
@ComponentScan("cn.zymall.common.config.feign")
@ComponentScan("cn.zymall.chat")
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, DruidDataSourceAutoConfigure.class})
public class ChatApplication {

    public static void main(String[] args) {
        SpringApplication.run(ChatApplication.class, args);
    }

}
